<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=8" />

	<title>HSMP-<?php $this->_block('title'); ?><?php $this->_endblock(); ?></title>
	<meta name="description" content="A web applications user interface library built on the Mootools JavaScript framework" />

	<link rel="stylesheet" type="text/css" href="<?php echo $_BASE_DIR; ?>themes/default/css/Content.css" />
	<link rel="stylesheet" type="text/css" href="<?php echo $_BASE_DIR; ?>themes/default/css/Core.css" />
	<link rel="stylesheet" type="text/css" href="<?php echo $_BASE_DIR; ?>themes/default/css/Layout.css" />
	<link rel="stylesheet" type="text/css" href="<?php echo $_BASE_DIR; ?>themes/default/css/Dock.css" />
	<link rel="stylesheet" type="text/css" href="<?php echo $_BASE_DIR; ?>themes/default/css/Window.css" />
	<link rel="stylesheet" type="text/css" href="<?php echo $_BASE_DIR; ?>themes/default/css/Tabs.css" />
	<link rel="stylesheet" type="text/css" href="<?php echo $_BASE_DIR; ?>js/tablecloth.css" />
	<link rel="stylesheet" type="text/css" href="<?php echo $_BASE_DIR; ?>css/redmond.datepick.css">
	<link rel="stylesheet" type="text/css" href="<?php echo $_BASE_DIR; ?>css/blue.covertape.css">
	
	<!--[if IE]>
		<script type="text/javascript" src="scripts/excanvas_r43.js"></script>
	<![endif]-->
	
	<script type="text/javascript" src="<?php echo $_BASE_DIR; ?>scripts/mootools-1.2.2-core.js"></script>
	<script type="text/javascript" src="<?php echo $_BASE_DIR; ?>scripts/mootools-1.2.2.2-more.js"></script>
	<script type="text/javascript" src="<?php echo $_BASE_DIR; ?>scripts/checkall.js"></script>
	<script type="text/javascript" src="<?php echo $_BASE_DIR; ?>scripts/source/Core/Core.js"></script>
	<script type="text/javascript" src="<?php echo $_BASE_DIR; ?>scripts/source/Layout/Layout.js"></script>
	<script type="text/javascript" src="<?php echo $_BASE_DIR; ?>scripts/source/Layout/Dock.js"></script>
	<script type="text/javascript" src="<?php echo $_BASE_DIR; ?>scripts/source/Window/Window.js"></script>
	<script type="text/javascript" src="<?php echo $_BASE_DIR; ?>scripts/source/Window/Modal.js"></script>
	<script type="text/javascript" src="<?php echo $_BASE_DIR; ?>scripts/source/Components/Tabs.js"></script>
	<script type="text/javascript" src="<?php echo $_BASE_DIR; ?>js/tablecloth.js"></script>
	<?php $this->_block('inits'); ?><?php $this->_endblock(); ?>
	
</head>
<body>

<!--
<?php $this->_block('contents'); ?><?php $this->_endblock(); ?>
<?php echo Q::version(); ?>
-->

<div id="desktop">

	<div id="desktopHeader">
		<div id="desktopTitlebarWrapper">
			<div id="desktopTitlebar">
		
				<h1 class="applicationTitle">HSMP</h1>
				<h2 class="tagline"></h2>
				<div id="topNav">
					<ul class="menu-right">
						<?php $this->_control('toolbar'); ?>
						<li><a href="index.php?action=logout">退出</a></li>
					</ul>
				</div>
				<div id="pnos" style="display:none;"><?php $this->_block('conpno'); ?><?php $this->_endblock(); ?></div>
			</div>
		</div>
	
		<div id="desktopNavbar">	
			<ul>
				<li><a id="goindex" class="returnFalse" href="index.php?action=framework&control=default&acts=toptenlog|userwel">系统信息</a>
					<ul>
					<li><a id="newlog" class="returnFalse" href="index.php?action=framework&control=default&acts=toptenlog|userwel">最新日志</a></li>
					<li><a id="statuslog" class="returnFalse" href="index.php?action=framework&control=default&acts=systemlog|userwel">状态日志</a></li>
					<li><a id="hostconn" class="returnFalse" href="index.php?action=framework&control=default&acts=systeminfo|userwel">主机连接信息</a></li>
					<li><a id="license" class="returnFalse" href="index.php?action=framework&control=default&acts=license|userwel">授权信息</a></li>
					<li><a id="mailsetting" class="returnFalse" href="index.php?action=framework&control=default&acts=mailsetting|userwel">报警邮箱设置</a></li>
					<li><a id="remailing" class="returnFalse" href="index.php?action=framework&control=default&acts=remailing|userwel">接收邮箱设置</a></li>
					</ul>
				</li>
				<li><a id="hostmanage" class="returnFalse" href="index.php?action=framework&control=hostmanage&acts=admins|quick">主机管理</a>
					<ul>
					<li><a id="allhost" class="returnFalse" href="index.php?action=framework&control=hostmanage&acts=admins|quick">查看所有主机</a></li>
					<li><a id="blankhost" class="returnFalse" href="index.php?action=framework&control=hostmanage&acts=blank|quick">未分组主机</a></li>
					<li><a id="addgroup_b" class="returnFalse" href="index.php?action=framework&control=hostmanage&acts=addform|quick">添加主机组</a></li>
					<li><a id="hostadmins" class="returnFalse" href="index.php?action=framework&control=hostmanage&acts=admin|quick">添加组管理员</a></li>
					</ul>
				</li>
				<li><a id="usermanage" class="returnFalse" href="index.php?action=framework&space=admin&control=users&acts=indexpart|add">用户管理</a></li>
				<li><a id="actionlog" class="returnFalse" href="index.php?action=framework&control=behaviorlog&acts=list|timecheck">行为日志</a></li>
				<li><a id="systemlog" class="returnFalse" href="index.php?action=framework&control=systemlog&acts=list|timecheck">系统日志</a></li>
				<li><a id="rulesetting" class="returnFalse" href="index.php?action=framework&control=rulesetting&acts=index|ruleaddform">规则设置</a>
					<ul>
					<li><a id="srules" class="returnFalse" href="index.php?action=framework&control=rulesetting&acts=indexguolv|ruleaddform">报警规则设置</a></li>
					<li><a id="nosrules" class="returnFalse" href="index.php?action=framework&control=rulesetting&acts=indexbaojing|ruleaddform">过滤规则设置</a></li>
					<li><a id="grouprules" class="returnFalse" href="index.php?action=framework&control=rulesetting&acts=rules|ruleaddform">组规则</a></li>
					</ul>
				</li>
				<li><a id="operatelog" class="returnFalse" href="index.php?action=framework&control=operatereport&acts=index|output">操作报告</a></li>
			</ul>
				
			<div class="toolbox divider">
				<div id="spinnerWrapper"><div id="spinner"></div></div>		
			</div>

			<!--<div class="toolbox divider">	
				<select id="themeControl" name="themeControl" size="1" onchange="MochaUI.Themes.init(this.options[this.selectedIndex].value)">
					<option id="chooseTheme" value="" selected>Choose Theme:</option>
					<option value="default">Default</option>
					<option value="Charcoal">Charcoal</option>
				</select>	
			</div>-->

		</div><!-- desktopNavbar end -->
	</div><!-- desktopHeader end -->

	<div id="dockWrapper">
		<div id="dock">
			<div id="dockPlacement"></div>
			<div id="dockAutoHide"></div>
			<div id="dockSort"><div id="dockClear" class="clear"></div></div>
		</div>
	</div>

	<div id="pageWrapper"></div>

	<div id="desktopFooterWrapper">
		<div id="desktopFooter">			
			&copy; 2010 <a target="_blank" href="http://surerun.cn/">Surerun</a>
		</div>
	</div>

</div><!-- desktop end -->

</body>
</html>